package com.bawei.mall.search.mapper;

import com.bawei.mall.search.domain.Po.Address;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author：liurui
 * @Package：com.bawei.mall.search.mapper
 * @Project：mall_cloud
 * @name：AddressMapper
 */
public interface AddressMapper {
    List<Address> findAddress();

    void add(Address address);

    void update(@Param("address") Address address, @Param("id") Integer id);

    void delete(Integer id);


    Address findaddress(Integer id);

}
